/*
 * 项目名称:    wms-server-jeecg
 * 创建人员:    hansen
 * 创建时间:    2023-09-21
 */
package org.jeecg.modules.dock.enums;

import lombok.AccessLevel;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import org.jeecg.modules.dock.constant.SystemConstants;

/**
 * MES接口类型定义
 *
 * @author hansen
 * @version 1.0.0
 * @date 2023-09-21 14:45:45
 */
@Getter
@RequiredArgsConstructor(access = AccessLevel.PRIVATE)
public enum MesInterfaceTypeEnum implements BaseEnum {

    HJ_TAKE("HJ-TAKE", "横剪叫料", SystemConstants.MES, SystemConstants.WMS),
    HJ_TAKE_MANUAL("HJ-TAKE-MANUAL", "横剪叫料-手动", SystemConstants.MES, SystemConstants.WMS),
    HJ_RETURN("HJ-RETURN", "横剪退料", SystemConstants.MES, SystemConstants.WMS),
    HJ_TAKE_PLANK("HJ-TAKE-PLANK", "横剪叫料板", SystemConstants.MES, SystemConstants.WMS),
    HJ_TAKE_WASTE("HJ-TAKE-WASTE", "横剪叫废料箱", SystemConstants.MES, SystemConstants.WMS),
    HJ_RETURN_WASTE("HJ-RETURN-WASTE", "横剪退废料箱", SystemConstants.MES, SystemConstants.WMS),
    HJ_STOCK("HJ-STOCK", "横剪入库", SystemConstants.MES, SystemConstants.WMS),
    DP_TAKE("DP-TAKE", "叠片叫料", SystemConstants.MES, SystemConstants.WMS),
    DP_RETURN("DP-RETURN", "叠片退料", SystemConstants.MES, SystemConstants.WMS),
    DP_RETURN_PLANK("DP-RETURN-PLANK", "叠片退料板", SystemConstants.MES, SystemConstants.WMS),
    ZJ_TAKE("ZJ-TAKE", "纵剪叫料", SystemConstants.MES, SystemConstants.WMS),
    ZJ_RETURN("ZJ-RETURN", "纵剪退料", SystemConstants.MES, SystemConstants.WMS),
    ZJ_STOCK("ZJ-STOCK", "纵剪入库", SystemConstants.MES, SystemConstants.WMS),
    ZJ_TAKE_PAPER("ZJ-TAKE-PAPER", "纵剪叫纸筒", SystemConstants.MES, SystemConstants.WMS),
    DP_TAKE_AUXILIARY("DP-TAKE-AUXILIARY", "叠片辅材叫料", SystemConstants.MES, SystemConstants.WMS),
    DP_RETURN_AUXILIARY("DP-RETURN-AUXILIARY", "叠片辅材退料", SystemConstants.MES, SystemConstants.WMS),
    BZ_TAKE("BZ-TAKE", "包装线叫料", SystemConstants.MES, SystemConstants.WMS),
    CP_STOCK("CP-STOCK", "成品入库", SystemConstants.MES, SystemConstants.WMS),
    CP_STOCK_DC("CP-STOCK-DC", "成品入库-定尺", SystemConstants.MES, SystemConstants.WMS),
    CP_STOCK_TX("CP-STOCK-TX", "成品入库-铁心", SystemConstants.MES, SystemConstants.WMS),
    TB_QUALITY_SYNC("TB-QUALITY-SYNC", "同步【铁心】质检结果", SystemConstants.MES, SystemConstants.WMS),
    KH_TAKE("KH-TAKE", "刻痕叫料", SystemConstants.MES, SystemConstants.WMS),
    KH_RETURN("KH-RETURN", "刻痕退料", SystemConstants.MES, SystemConstants.WMS),
    KH_STOCK("KH-STOCK", "刻痕入库", SystemConstants.MES, SystemConstants.WMS),
    ZJ_RETURN_PAPER("ZJ-RETURN-PAPER", "纵横剪退纸筒", SystemConstants.MES, SystemConstants.WMS),
    BZ_RETURN("BZ-RETURN", "包装线退料（宽度大于700不能退）", SystemConstants.MES, SystemConstants.WMS),
    DP_TAKE_REPLY("DP-TAKE-REPLY", "叠片叫料完成wms返回柱料明细（MES提供接口）", SystemConstants.MES, SystemConstants.WMS),
    ZJ_RETURN_STEEL("ZJ-RETURN-STEEL", "纵剪退钢筒", SystemConstants.MES, SystemConstants.WMS),
    ZJ_TAKE_TRAY("ZJ-TAKE-TRAY", "纵剪叫托盘", SystemConstants.MES, SystemConstants.WMS),
    ZJ_RETURN_REPLY("ZJ-RETURN-REPLY", "纵剪退料更新wms状态-待卸料", SystemConstants.MES, SystemConstants.WMS),
    BZ_TAKE_AUTO("BZ-TAKE-AUTO", "包装叫料任务-自动完成", SystemConstants.MES, SystemConstants.WMS),
    ZJ_STOCK_REPLY("ZJ-STOCK-REPLY", "纵剪入库更新任务信息", SystemConstants.MES, SystemConstants.WMS),

    SC_STOCK_SUPER("SC-STOCK-SUPER", "生产入库（超大卷）", SystemConstants.MES, SystemConstants.WMS),
    ZJ_USE_PAPER("ZJ-USE-PAPER", "纵剪消耗纸筒", SystemConstants.MES, SystemConstants.WMS),
    ZJ_STOCK_KQ("ZJ-STOCK-KQ", "纵剪入库回传库区信息(WMS调MES接口)", SystemConstants.MES, SystemConstants.WMS),
    BZ_TAKE_KQ("BZ-TAKE-KQ", "包装叫料回传库区信息(WMS调MES接口)", SystemConstants.MES, SystemConstants.WMS),
    BZ_TAKE_XC("BZ-TASK-XC", "包装叫料更新小车信息(MES调WMS接口)", SystemConstants.MES, SystemConstants.WMS),
    KH_STOCK_REPLY("KH-STOCK-REPLY", "MES-WMS发送刻痕入库更新属性(MES调WMS接口)", SystemConstants.MES, SystemConstants.WMS),
    BZ_TAKE_TRANS("BZ-TAKE-TRANS", "MES-WMS发送条料调拨出库提醒(MES调WMS接口)", SystemConstants.MES, SystemConstants.WMS),
    ;

    private final String code;
    private final String remark;

    /**
     * 来源系统
     */
    private final String source;
    /**
     * 目标系统
     */
    private final String target;

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public String getEnumName() {
        return "MES接口定义";
    }
}
